From: SimonMaracine Date: Sun, 28 Sep 2025 17:56:36 +0000 (+0300) Subject: panelMenu: Remove invalid last argument to PopupMenu constructor X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~80^2^2~17 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=05e4bc4c7a46f77b417ca1f3e2f0ab49479562b5;p=gnome-shell.git panelMenu: Remove invalid last argument to PopupMenu constructor Fixes: 4debedb275 ("Application Menu: add support for showing GApplication actions") Part-of: --- diff --git a/js/ui/panelMenu.js b/js/ui/panelMenu.js index 5241580e9..e6ba8bd38 100644 --- a/js/ui/panelMenu.js +++ b/js/ui/panelMenu.js @@ -105,7 +105,7 @@ export const Button = GObject.registerClass({ if (dontCreateMenu) this.menu = new PopupMenu.PopupDummyMenu(this); else - this.setMenu(new PopupMenu.PopupMenu(this, menuAlignment, St.Side.TOP, 0)); + this.setMenu(new PopupMenu.PopupMenu(this, menuAlignment, St.Side.TOP)); this.connect('key-press-event', (o, ev) => global.focus_manager.navigate_from_event(ev));